package com.example.proyyj.Service;


import com.example.proyyj.Entity.Video;
import com.example.proyyj.Impl.VidepImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class VideoService  implements VidepImpl {
    @Resource
    VidepImpl videp;
    @Override
    public List<Video> videolist() {
        return videp.videolist();
    }

    @Override
    public Video videoid(int id) {
        return videp.videoid(id);
    }
}
